package de.tum.in.eist.poll.client;


import com.google.gwt.user.client.rpc.AsyncCallback;

import de.tum.in.eist.poll.shared.Lecturer;
import de.tum.in.eist.poll.shared.Student;
import de.tum.in.eist.poll.shared.exceptions.UserNotFoundException;

public interface AuthServiceAsync {
	void authenticateStudent(String studentID, String password,
			AsyncCallback<Student> callback) throws UserNotFoundException;
	
	void authenticateLecturer(String studentID, String password,
			AsyncCallback<Lecturer> callback) throws UserNotFoundException;

}
